package com.carkeeper.tweet;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.elasticsearch.core.ElasticsearchTemplate;
import springfox.documentation.swagger2.annotations.EnableSwagger2;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @program: carkeeper_parent
 * @Date: 2020/11/23 14:10
 * @Author: qgg
 * @Description:
 */
@SpringBootApplication
@EnableSwagger2
@EnableEurekaClient
@ComponentScan(basePackages = "com.carkeeper")
@MapperScan(basePackages = {"com.carkeeper.tweet.dao"})
public class TweetApplication {
    public static void main(String[] args) {
        SpringApplication.run(TweetApplication.class);
    }
}
